module.exports = {
  title: 'Forest',
  tagline: '更轻量、更简单实用的HTTP客户端框架',
  url: 'https://your-docusaurus-test-site.com',
  baseUrl: '/',
  onBrokenLinks: 'throw',
  favicon: 'img/favicon.ico',
  organizationName: 'dtflyx.com', // Usually your GitHub org/user name.
  projectName: 'forest-docs', // Usually your repo name.
  themeConfig: {
    navbar: {
      title: '',
      logo: {
        alt: 'Forest',
        src: 'img/logo2.png',
      },
      items: [
        {
          label: '文档',
          position: 'left',
          items: [
            {
              to: 'docs/',
              activeBasePath: 'docs',
              label: 'v1.4.x',
            },
          ]
        },
        {
          label: '博客',
          position: 'left',
        },
        {
          label: '联系作者',
          position: 'left',
        },

        // {to: 'blog', label: 'Blog', position: 'left'},
        {
          label: '看板',
          href: 'https://gitee.com/dt_flys/forest/board',
          position: 'right',
        },
        {
          label: '仓库',
          position: 'right',
          items: [
            {
              href: 'https://gitee.com/dt_flys/forest',
              className: 'navbar-item-gitee',
              label: 'Gitee',
            },
            {
              href: 'https://github.com/mySingleLive/forest',
              className: 'navbar-item-github',
              label: 'GitHub',
            },
          ]
        },
      ],
    },
    footer: {
      style: 'dark',
      links: [
        {
          title: 'Docs',
          items: [
            {
              label: 'Style Guide',
              to: 'docs/',
            },
            {
              label: 'Second Doc',
              to: 'docs/doc2/',
            },
          ],
        },
        {
          title: 'Community',
          items: [
            {
              label: 'Stack Overflow',
              href: 'https://stackoverflow.com/questions/tagged/docusaurus',
            },
            {
              label: 'Discord',
              href: 'https://discordapp.com/invite/docusaurus',
            },
            {
              label: 'Twitter',
              href: 'https://twitter.com/docusaurus',
            },
          ],
        },
        {
          title: 'More',
          items: [
            {
              label: 'Blog',
              to: 'blog',
            },
            {
              label: 'GitHub',
              href: 'https://github.com/facebook/docusaurus',
            },
          ],
        },
      ],
      copyright: `The MIT License (MIT) | Copyright © 2016 Jun Gong`,
    },
  },
  presets: [
    [
      '@docusaurus/preset-classic',
      {
        docs: {
          sidebarPath: require.resolve('./sidebars.js'),
          // Please change this to your repo.
          editUrl:
            'https://github.com/facebook/docusaurus/edit/master/website/',
        },
        blog: {
          showReadingTime: true,
          // Please change this to your repo.
          editUrl:
            'https://github.com/facebook/docusaurus/edit/master/website/blog/',
        },
        theme: {
          customCss: require.resolve('./src/css/custom.css'),
        },
      },
    ],
  ],
};
